﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/ControlPanel.master" AutoEventWireup="true" CodeFile="EditThermostat.aspx.cs" Inherits="cp_EditThermostat" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" Runat="Server">
<form id="Form1" runat="server">
    <h1>Edit Thermostat</h1>
    <p>These settings can be changed at any time.  SEER and Tons are used to calculate A/C power consumption for energy usage reports.  <a target="_blank" href="http://www.inspectapedia.com/aircond/aircond06.htm">Here</a> an article on how to find the tons of your unit from the model number.  The SEER rating can using be found from the manufactuers website.</p>
    
    <asp:Literal ID="ErrorLit" runat="server" />
    <table>
        <tr><td>Location</td><td><asp:DropDownList ID="LocationList" runat="server" DataTextField="Name" DataValueField="Id" /></td></tr>
        <tr><td>Display Name</td><td><asp:TextBox ID="DisplayNameText" runat="server" /></td></tr>
        <tr><td>IP Address</td><td><asp:TextBox ID="IpAddressText" runat="server" /></td><td>(Interal IP - ex. 192.168.1.106)</td></tr>
        <tr><td>Brand</td><td><asp:DropDownList ID="BrandList" runat="server">
            <asp:ListItem Value="RTCOA" Text="Radio Thermostat" />
            <asp:ListItem Value="RCSTechnology" Text="RCS Technology" />
        </asp:DropDownList></td></tr>
        <tr><td colspan="2"><br /><b>A/C Information</b></td></tr>
        <tr><td>Tons</td><td><asp:TextBox ID="TonsText" runat="server" Text="3.5" /></td></tr>
        <tr><td>SEER</td><td><asp:TextBox ID="SeerText" runat="server" Text="16" /></td></tr>
        <tr><td>Energy Used</td><td><asp:Label ID="KilowattsLabel" runat="server" Text="2.625kw" /></td></tr>
        <tr><td colspan="2"><br /><b>Blower Fan Information</b></td></tr>
        <tr><td>Energy Used</td><td><asp:TextBox ID="FanKilowattsText" runat="server" Text="0.5" /></td><td>kw</td></tr>
        <tr><td colspan="2" align="center"><asp:Button ID="SaveButton" runat="server" Text="Save" onclick="SaveButton_Click" /></td></tr>
    </table>
</form>
</asp:Content>

